package cn.wolfcode.crm.mapper;

public interface RolePermissionMapper {
	void insertRolePermission(Long roleId, Long[] permissionIds);
	
	void removeByRoleId(Long roleId);
	
	void removeByPermissionId(Long permissionId);
	
	long countRolePermissionRelByRoleId(Long roleId);
	
	long countRolePermissionRelByPermissionId(Long permissionId);
}
